#include <stdio.h>
#include <stdlib.h>
#include "model.h"

int main(int argc, char *argv[])
{
	Shape *shape;
	shape = new Circle(0, 0, 5);
	shape->draw();
	printf("%d\n", shape->isInside(1, 2));
	printf("%f\n", shape->distance(3, 4));

	delete shape;
	shape = new Rect();
	shape->draw();
	printf("%d\n", shape->isInside(1, 2));
	delete shape;
	return 0;
}